﻿<Window x:Class="PMisuseAn.AddConstraintWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Domain" Height="177" Width="508" 
        VerticalAlignment="Top" HorizontalAlignment="Left" ResizeMode="NoResize" Icon="images\title.ico">
    
    <Grid Margin="10,0,10,10" Height="130">
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="105"/>
            <ColumnDefinition  Width="202"/>
            <ColumnDefinition Width="159*" />
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="0" />
            <RowDefinition Height="68" />
            <RowDefinition Height="131" />
        </Grid.RowDefinitions>
        <Label Content="Attribute domain values constraints" Height="28" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" FontWeight="Bold" Grid.ColumnSpan="2" Width="212" />
        <Label Content="Attribute:" Grid.Row="1" Height="28" HorizontalAlignment="Left" Name="label2" VerticalAlignment="Top" />
        <Label Content="Domain literals:" Grid.Row="3" Height="28" HorizontalAlignment="Left" Name="label3" VerticalAlignment="Top" />
        <TextBox Grid.Column="1" Grid.Row="1" Height="24" HorizontalAlignment="Left" Margin="6,4,0,0" Name="constraint_att" VerticalAlignment="Top" Width="192" Background="#FFDDE3EB" />
        <TextBox Grid.Column="1" Grid.Row="3" Height="59" HorizontalAlignment="Left" Margin="6,5,0,0" Name="constraint_dom" VerticalAlignment="Top" Width="192" TextWrapping="Wrap" FontSize="12" Background="#FFDDE3EB" />
        <TextBlock IsEnabled="False" Grid.Column="2" Grid.Row="3" Height="32" HorizontalAlignment="Left" Margin="6,6,0,0" Name="textBlock2" Text="List possible attribute values separated by a comma (,)" VerticalAlignment="Top" Width="153" TextWrapping="Wrap" />
        <Button Style="{StaticResource LinkButton_no_underline}" Grid.Column="2" Grid.Row="3" Height="23" HorizontalAlignment="Left" 
                Margin="133,44,0,0" Name="addConstraint_b" VerticalAlignment="Top" Width="26"
                Click="addConstraint_b_Click">
            <Image Source="images\save.png"/>
        </Button>
    </Grid>
</Window>
